/*********************************************************
 *  Copyright (c) 2011 by Web Information Systems (WIS) Group, 
 *  Delft University of Technology.
 *  Qi Gao, http://wis.ewi.tudelft.nl/index.php/home-qi-gao
 *  
 *  Some rights reserved.
 *
 *  Contact: q.gao@tudelft.nl
 *
 **********************************************************/
package org.persweb.genius.model;


/**
 * @author Qi Gao <a href="mailto:q.gao@tudelft.nl">q.gao@tudelft.nl</a>
 * @version created on Jul 11, 2011 12:09:00 PM
 */
public class QueryImpl implements Query {
	
	private String queryType = null;
	private String query = null;
	
	
	/**
	 * @param queryType
	 * @param query
	 */
	public QueryImpl(String queryType, String query) {
		super();
		this.queryType = queryType;
		this.query = query;
	}

	/* (non-Javadoc)
	 * @see org.persweb.genius.model.Query#getQueries()
	 */
	@Override
	public String getQuery() {
		return query;
	}

	/* (non-Javadoc)
	 * @see org.persweb.genius.model.Query#getQueryType()
	 */
	@Override
	public String getQueryType() {
		return queryType;
	}

	/* (non-Javadoc)
	 * @see org.persweb.genius.model.Query#setQueries(java.util.Collection)
	 */
	@Override
	public void setQuery(String query) {
		this.query = query;
	}

	/* (non-Javadoc)
	 * @see org.persweb.genius.model.Query#setQueryType(java.lang.String)
	 */
	@Override
	public void setQueryType(String queryType) {
		this.queryType = queryType;
	}

}
